package com.shopcart.domain;
import javax.persistence.Entity;


import javax.persistence.Id;

import javax.persistence.Table;

import javax.persistence.Column;

import java.math.BigDecimal;
import java.util.Date;


@Entity
@Table(name="s_order")
public class Order {

	@Id
	private String id;
	@Column(name="code")
	private String code;
	@Column(name="user_id")
	private String userId;
	@Column(name="store_id")
	private String storeId;
	@Column(name="info")
	private String info;
	@Column(name="total_pay")
	private BigDecimal totalPay;
	@Column(name="state")
	private Integer state;
	@Column(name="type")
	private Integer type;
	@Column(name="ship_contact")
	private String shipContact;
	@Column(name="ship_user")
	private String shipUser;
	@Column(name="user_address")
	private String userAddress;
	@Column(name="ship_code")
	private String shipCode;
	@Column(name="ship_time")
	private Date shipTime;
	@Column(name="ship_firm")
	private String shipFirm;
	@Column(name="has_comment")
	private Integer hasComment;
	@Column(name="store_coupon")
	private String storeCoupon;
	@Column(name="cash_coupon")
	private BigDecimal cashCoupon;
	@Column(name="price_change")
	private BigDecimal priceChange;
	@Column(name="ship_price")
	private BigDecimal shipPrice;
	@Column(name="show_name")
	private Integer showName;
	@Column(name="pay_type")
	private Integer payType;
	@Column(name="pay_time")
	private Date payTime;
	@Column(name="is_show")
	private Integer isShow;
	@Column(name="back_time")
	private Date backTime;
	@Column(name="back_reason")
	private String backReason;
	@Column(name="refuse_reason")
	private String refuseReason;
	@Column(name="store_name")
	private String storeName;
	@Column(name="wine_money")
	private BigDecimal wineMoney;
	@Column(name="pay_deadline")
	private Date payDeadline;
	@Column(name="modify_time")
	private Date modifyTime;
	@Column(name="create_time")
	private Date createTime;
	@Column(name="back_state")
	private Integer backState;
	@Column(name="store_img")
	private String storeImg;
	@Column(name="express_time")
	private String expressTime;
	@Column(name="store_coupon_info")
	private String storeCouponInfo;
	@Column(name="express_type")
	private String expressType;


	public String getId(){
		return id;
	}
	public void setId(String id){
		this.id = id;
	}
	public String getCode(){
		return code;
	}
	public void setCode(String code){
		this.code = code;
	}
	public String getUserId(){
		return userId;
	}
	public void setUserId(String userId){
		this.userId = userId;
	}
	public String getStoreId(){
		return storeId;
	}
	public void setStoreId(String storeId){
		this.storeId = storeId;
	}
	public String getInfo(){
		return info;
	}
	public void setInfo(String info){
		this.info = info;
	}
	public BigDecimal getTotalPay(){
		return totalPay;
	}
	public void setTotalPay(BigDecimal totalPay){
		this.totalPay = totalPay;
	}
	public Integer getState(){
		return state;
	}
	public void setState(Integer state){
		this.state = state;
	}
	public Integer getType(){
		return type;
	}
	public void setType(Integer type){
		this.type = type;
	}
	public String getShipContact(){
		return shipContact;
	}
	public void setShipContact(String shipContact){
		this.shipContact = shipContact;
	}
	public String getShipUser(){
		return shipUser;
	}
	public void setShipUser(String shipUser){
		this.shipUser = shipUser;
	}
	public String getUserAddress(){
		return userAddress;
	}
	public void setUserAddress(String userAddress){
		this.userAddress = userAddress;
	}
	public String getShipCode(){
		return shipCode;
	}
	public void setShipCode(String shipCode){
		this.shipCode = shipCode;
	}
	public Date getShipTime(){
		return shipTime;
	}
	public void setShipTime(Date shipTime){
		this.shipTime = shipTime;
	}
	public String getShipFirm(){
		return shipFirm;
	}
	public void setShipFirm(String shipFirm){
		this.shipFirm = shipFirm;
	}
	public Integer getHasComment(){
		return hasComment;
	}
	public void setHasComment(Integer hasComment){
		this.hasComment = hasComment;
	}
	public String getStoreCoupon(){
		return storeCoupon;
	}
	public void setStoreCoupon(String storeCoupon){
		this.storeCoupon = storeCoupon;
	}
	public BigDecimal getCashCoupon(){
		return cashCoupon;
	}
	public void setCashCoupon(BigDecimal cashCoupon){
		this.cashCoupon = cashCoupon;
	}
	public BigDecimal getPriceChange(){
		return priceChange;
	}
	public void setPriceChange(BigDecimal priceChange){
		this.priceChange = priceChange;
	}
	public BigDecimal getShipPrice(){
		return shipPrice;
	}
	public void setShipPrice(BigDecimal shipPrice){
		this.shipPrice = shipPrice;
	}
	public Integer getShowName(){
		return showName;
	}
	public void setShowName(Integer showName){
		this.showName = showName;
	}
	public Integer getPayType(){
		return payType;
	}
	public void setPayType(Integer payType){
		this.payType = payType;
	}
	public Date getPayTime(){
		return payTime;
	}
	public void setPayTime(Date payTime){
		this.payTime = payTime;
	}
	public Integer getIsShow(){
		return isShow;
	}
	public void setIsShow(Integer isShow){
		this.isShow = isShow;
	}
	public Date getBackTime(){
		return backTime;
	}
	public void setBackTime(Date backTime){
		this.backTime = backTime;
	}
	public String getBackReason(){
		return backReason;
	}
	public void setBackReason(String backReason){
		this.backReason = backReason;
	}
	public String getRefuseReason(){
		return refuseReason;
	}
	public void setRefuseReason(String refuseReason){
		this.refuseReason = refuseReason;
	}
	public String getStoreName(){
		return storeName;
	}
	public void setStoreName(String storeName){
		this.storeName = storeName;
	}
	public BigDecimal getWineMoney(){
		return wineMoney;
	}
	public void setWineMoney(BigDecimal wineMoney){
		this.wineMoney = wineMoney;
	}
	public Date getPayDeadline(){
		return payDeadline;
	}
	public void setPayDeadline(Date payDeadline){
		this.payDeadline = payDeadline;
	}
	public Date getModifyTime(){
		return modifyTime;
	}
	public void setModifyTime(Date modifyTime){
		this.modifyTime = modifyTime;
	}
	public Date getCreateTime(){
		return createTime;
	}
	public void setCreateTime(Date createTime){
		this.createTime = createTime;
	}
	public Integer getBackState(){
		return backState;
	}
	public void setBackState(Integer backState){
		this.backState = backState;
	}
	public String getStoreImg(){
		return storeImg;
	}
	public void setStoreImg(String storeImg){
		this.storeImg = storeImg;
	}
	public String getExpressTime(){
		return expressTime;
	}
	public void setExpressTime(String expressTime){
		this.expressTime = expressTime;
	}
	public String getStoreCouponInfo(){
		return storeCouponInfo;
	}
	public void setStoreCouponInfo(String storeCouponInfo){
		this.storeCouponInfo = storeCouponInfo;
	}
	public String getExpressType(){
		return expressType;
	}
	public void setExpressType(String expressType){
		this.expressType = expressType;
	}

	
}
